﻿using System;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace SharedGenomics.Domain
{
    [Table(Name = "dbo.map")]
    [DataContract]
    public class Map
    {
        [Column(Name = "snp_id", DbType = "BigInt NOT NULL", IsPrimaryKey = true)]
        [DataMember(Order = 1)]
        public long Id { get; set; }

        [Column(Name = "chr", DbType = "BigInt NOT NULL")]
        [DataMember(Order = 2)]
        public long Chromosome { get; set; }

        [Column(Name = "bp", DbType = "BigInt NOT NULL")]
        [DataMember(Order = 3)]
        public long BasePosition { get; set; }
    }
}
